﻿<%@ Page Language="C#" MasterPageFile="~/Guest/MasterGuest.master" AutoEventWireup="true" CodeFile="XemThongTinChiTietMonHoc.aspx.cs" Inherits="Guest_XemThongTinChiTietMonHoc" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <ajax:ajaxpanel id="Ajaxpanel1" runat="server" >
    <table style="width: 575px">
        <tr>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                    <fieldset id="FIELDSET2" >
	                    <legend>Thông tin chi tiết môn học:</legend>
                        <br />
                        <table style="width: 500px">
                            <tr>
                                <td align="left" style="width: 17px">
                                    <asp:Label ID="label" runat="server" Text="Mã môn học:" Width="95px"></asp:Label></td>
                                <td align="left" style="width: 159px">
                                    <asp:Label ID="lbMaMonHoc" runat="server" Text="Label" Width="298px" Font-Bold="True" Font-Size="14pt"></asp:Label></td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 17px">
                                    <asp:Label ID="Label4" runat="server" Text="Tên môn học:" Width="94px"></asp:Label></td>
                                <td align="left" style="width: 159px">
                                    <asp:Label ID="lbTenMonHoc" runat="server" Text="Label" Width="296px" Font-Bold="True"></asp:Label></td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 17px; height: 21px;">
                                    <asp:Label ID="Label5" runat="server" Text="Số tín chỉ:" Width="93px"></asp:Label></td>
                                <td align="left" style="width: 159px; height: 21px;">
                                    <asp:Label ID="lbSoTinChi" runat="server" Text="Label" Width="294px" Font-Bold="True"></asp:Label></td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 17px">
                                    <asp:Label ID="Label6" runat="server" Text="Loại môn học:" Width="93px"></asp:Label></td>
                                <td align="left" style="width: 159px">
                                    <asp:Label ID="lbLoaiMonHoc" runat="server" Text="Label" Width="293px" Font-Bold="True"></asp:Label></td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 17px">
                                    <asp:Label ID="Label7" runat="server" Text="Bộ môn:" Width="93px"></asp:Label></td>
                                <td align="left" style="width: 159px">
                                    <asp:Label ID="lbTenBoMon" runat="server" Text="Label" Width="294px" Font-Bold="True"></asp:Label></td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 17px">
                                    </td>
                                <td align="left" style="width: 159px">
                                    </td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 17px">
                                    Đề Cương:</td>
                                <td align="left" style="width: 159px">
                                    <asp:HyperLink ID="HyperLink1" runat="server" ><img src="../Images/chia khoa.jpg" alt="" style="width: 35px; height: 34px" /></asp:HyperLink>
                                </td>
                            </tr>
                        </table>
                    </fieldset>
            </td>
        </tr>
        <tr>
            <td>
                    <fieldset id="FIELDSET1"  runat="server">
	                    <legend>Danh sách môn học tiên quyết:</legend>
                        <br />
                        <asp:Label ID="Label2" runat="server" BackColor="Red" BorderStyle="Groove" Font-Size="20pt"
                            Text="Không Tồn Tại Môn Học Nào !" Visible="False" Width="370px"></asp:Label>
                        <asp:GridView ID="gridMonHoc" runat="server" AllowSorting="True" AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" BorderStyle="Solid"
                            BorderWidth="1px" CellPadding="3" CellSpacing="5" DataKeyNames="maMonHoc" ForeColor="Black"
                            GridLines="Vertical" Width="710px">
                            <FooterStyle BackColor="#CCCCCC" />
                            <Columns>
                                <asp:TemplateField HeaderText="M&#227; MH">
                                    <ItemTemplate>
                                        <asp:Label ID="maMonHoc" runat="server" Text='<%# Bind("MaMonHoc")%>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle BorderColor="DarkBlue" Font-Bold="True" Font-Italic="True" Width="50px" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="T&#234;n m&#244;n học">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="a" runat="server" CommandArgument='<%# Bind("MaMonHoc")%>' CommandName="xemChiTiet" OnClick="xemChiTietMonHoc"
                                             Text='<%# Bind("TenMon")%>' ToolTip="Xem chi tiết">
                  </asp:LinkButton>
                                    </ItemTemplate>
                                    <ItemStyle BorderColor="DarkBlue" Font-Bold="True" Font-Italic="True" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="STC">
                                    <ItemTemplate>
                                        <asp:Label ID="ngay" runat="server" Text=' <%# Bind("SoTinChi")%>' ></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle BorderColor="Navy" HorizontalAlign="Center" VerticalAlign="Middle" Width="50px" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Loại M&#244;n Học">
                                    <ItemTemplate>
                                        <asp:Label ID="d" runat="server" Text=' <%# Bind("TenLoai")%>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle BorderColor="Navy" HorizontalAlign="Left" VerticalAlign="Middle" Width="150px" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="T&#234;n bộ m&#244;n">
                                    <ItemTemplate>
                                        <asp:Label ID="capnhat" runat="server" Text=' <%# Bind("TenBoMon")%>'>
                  </asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle BorderColor="Navy" HorizontalAlign="Left" VerticalAlign="Middle" Width="150px" />
                                </asp:TemplateField>
                            </Columns>
                            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                            <HeaderStyle BackColor="BlueViolet" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="#CCCCCC" />
                        </asp:GridView>
                        
                        
                        
                    </fieldset>
            </td>
        </tr>
    </table>
</ajax:ajaxpanel>
</asp:Content>

